'Declaration <DefaultValueAttribute()> Public Overridable ReadOnly Property IsReadOnly As Boolean
'Usage Dim instance As NotifyCollectionBase(Of T) Dim value As Boolean value = instance.IsReadOnly
[DefaultValue()] public virtual bool IsReadOnly {get;}
Property Value
true
if the collection is read-only; otherwise, false
. The default value is false
.